This forum is closed to new posts and
responses. The content has been migrated to the Digital Solutions Community. Please join us there for new content as well as this content. For customer support, please visit the official HCL customer support channels below:
RE: export database to XML files ~Naomi Deskroterakol 25.Nov.03 02:04 PM a Web browser Applications Development All ReleasesAll Platforms
The other thing to bear in mind is that it is only for data, you cannot
convert design to XML with this product (that unfortunately is a problem for
me).
You even emailed me about this, and I don't understand what you're missing here.
Dim sess As New NotesSession
Dim db As NotesDatabase
Dim designColl As NotesNoteCollection
Dim export As NotesDXLExporter
Dim writeStream As NotesStream
Const OUT_FILE = "c:\sampleDXL.xml"
Set writeStream=sess.CreateStream
If Not writeStream.Open(OUT_FILE) Then
Messagebox "Cannot Open Destintion",, OUT_FILE
Exit Sub
End If
Set db = sess.currentdatabase
Set designColl = db.createNoteCollection(False)
Call designColl.SelectAllDesignElements(True)
Set export = sess.CreateDXLExporter(designColl, writeStream)
export.Process